package com.qys.livesMall.app.user.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qys.livesMall.app.user.model.dto.AppBaseDTO;
import com.qys.livesMall.app.user.model.entity.AppUserFriend;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qys.livesMall.app.user.model.vo.app.AppUserConcernVO;
import com.qys.livesMall.framework.view.BaseQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户好友 Mapper 接口
 * </p>
 *
 * @author
 * @since 2023-06-08
 */
public interface AppUserFriendMapper extends BaseMapper<AppUserFriend> {

    /**
     * 查询用户好友列表
     *
     * @param page
     * @param baseQuery
     * @return
     */
    List<AppUserConcernVO> listFriend(Page<AppUserConcernVO> page, @Param("baseQuery") BaseQuery baseQuery);
}
